package com.neuedu.jetty.contoller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class JettyController {


    /**
     * http://127.0.0.1/index
     * @return
     */
    @GetMapping("/index")
    String jettyMain(){
        return "欢迎访问 jetty..";
    }

}
